#! /usr/bin/python
# coding: utf-8

from Tkinter import *

root = Tk()

def printSpin():
    sb.delete(0)
    print sb.get()

sb = Spinbox(root,
        values=(1234567890,234567890,34567890,4567890,567890,67890,7890,890,90,0), command=printSpin)
sb.pack()

root.mainloop()
